#ifndef RTW_HEADER_foc1_h_
#define RTW_HEADER_foc1_h_
#ifndef foc1_COMMON_INCLUDES_
#define foc1_COMMON_INCLUDES_
#include <stdlib.h>
#include "rtwtypes.h"
#include "sigstream_rtw.h"
#include "simtarget/slSimTgtSigstreamRTW.h"
#include "simtarget/slSimTgtSlioCoreRTW.h"
#include "simtarget/slSimTgtSlioClientsRTW.h"
#include "simtarget/slSimTgtSlioSdiRTW.h"
#include "simstruc.h"
#include "fixedpoint.h"
#include "raccel.h"
#include "slsv_diagnostic_codegen_c_api.h"
#include "rt_logging_simtarget.h"
#include "dt_info.h"
#include "ext_work.h"
#endif
#include "foc1_types.h"
#include <stddef.h>
#include "rtw_modelmap_simtarget.h"
#include "rt_defines.h"
#include <string.h>
#include "rt_nonfinite.h"
#define MODEL_NAME foc1
#define NSAMPLE_TIMES (4) 
#define NINPUTS (0)       
#define NOUTPUTS (0)     
#define NBLOCKIO (31) 
#define NUM_ZC_EVENTS (0) 
#ifndef NCSTATES
#define NCSTATES (0)   
#elif NCSTATES != 0
#error Invalid specification of NCSTATES defined in compiler command
#endif
#ifndef rtmGetDataMapInfo
#define rtmGetDataMapInfo(rtm) (*rt_dataMapInfoPtr)
#endif
#ifndef rtmSetDataMapInfo
#define rtmSetDataMapInfo(rtm, val) (rt_dataMapInfoPtr = &val)
#endif
#ifndef IN_RACCEL_MAIN
#endif
typedef struct { real_T doh1ukidqb ; real_T bnvxvacbbl ; real_T gumxvgfbxn [
8 ] ; real_T i24nyf40tk [ 6 ] ; real_T bm2pphhktx ; real_T ck12s04b5q ;
real_T fj3fao1c3u ; real_T hn3dccr3ro ; real_T khzjqq4aca ; real_T of4xqa4iyq
; real_T gys1h2d20i ; real_T m0soobc2tx ; real_T btnvqswzr5 ; real_T
o3ipjb4ia1 ; real_T oehdg5tfvl ; real_T ml1gl3cyt3 ; real_T d4er4shvvt ;
real_T kuqyy4l1im ; real_T k344ayyian ; real_T lbnbux40tm ; real_T a31fuchwx4
; real_T fgm2ey422o [ 6 ] ; real_T p3qdmqq2jr ; real_T kblebvykwt ; real_T
lhq4adqmd0 ; real_T nai45kmsg3 ; real_T cis3ukuxpf ; real_T mew0r2rmut ;
real_T eynh445hv1 ; real_T f0qbz1rzka ; real_T ir01thxxfd ; } B ; typedef
struct { real_T pq0qc0q4qt ; real_T eowmvoivfm ; real_T ooiulikieu ; real_T
po5e0yb1lh ; real_T okrwv1hpip ; real_T fqew3rv1xn ; real_T e1ionbamw0 ;
struct { void * AS ; void * BS ; void * CS ; void * DS ; void * DX_COL ; void
* BD_COL ; void * TMP1 ; void * TMP2 ; void * XTMP ; void * SWITCH_STATUS ;
void * SWITCH_STATUS_INIT ; void * SW_CHG ; void * G_STATE ; void * USWLAST ;
void * XKM12 ; void * XKP12 ; void * XLAST ; void * ULAST ; void * IDX_SW_CHG
; void * Y_SWITCH ; void * SWITCH_TYPES ; void * IDX_OUT_SW ; void *
SWITCH_TOPO_SAVED_IDX ; void * SWITCH_MAP ; } heo4xx0bdx ; struct { void *
LoggedData ; } iu1a3gpbyb ; struct { void * LoggedData ; } krqyebzcfh ;
struct { void * LoggedData ; } ctn1drudv3 ; struct { void * LoggedData ; }
n1pkjceb5l ; struct { void * LoggedData ; } dq4m3zuivh ; struct { void *
LoggedData ; } dxslhfm5qj ; struct { void * LoggedData ; } aohdmqtcde ;
struct { void * LoggedData ; } hjg0tma4tm ; struct { void * LoggedData ; }
cw3ed4sabr ; struct { void * LoggedData ; } bwivxjyiwb ; struct { void *
LoggedData [ 6 ] ; } pzfuavsvt0 ; int_T jy5c5fihyg [ 11 ] ; uint8_T
k0ry3y4g00 ; uint8_T igdieiwmgk ; uint8_T ptj1w5chqw ; uint8_T myvb1smtw3 ;
boolean_T afmy0cnqxp ; boolean_T jus0vqnxsi ; boolean_T krwklz2yp0 ; } DW ;
typedef struct { real_T b4eleawi4u ; real_T c4vijg1mkn ; real_T jaejp04hra ;
} ZCV ; typedef struct { rtwCAPI_ModelMappingInfo mmi ; } DataMapInfo ;
struct P_ { real_T DCVoltageSource_Amplitude ; real_T PIDController_I ;
real_T PIDController3_I ; real_T PIDController4_I ; real_T
PIDController_InitialConditionForIntegrator ; real_T
PIDController4_InitialConditionForIntegrator ; real_T
PIDController3_InitialConditionForIntegrator ; real_T PIDController_P ;
real_T PIDController4_P ; real_T PIDController3_P ; real_T
CompareToConstant_const ; real_T CoulombViscousFriction_gain ; real_T
CoulombViscousFriction_offset ; real_T RepeatingSequence_rep_seq_y [ 3 ] ;
real_T DiscreteTimeIntegrator1_gainval ; real_T DiscreteTimeIntegrator1_IC ;
real_T DiscreteTimeIntegrator_gainval ; real_T DiscreteTimeIntegrator_IC ;
real_T DiscreteTimeIntegrator_gainval_ag5cij0zd5 ; real_T
DiscreteTimeIntegrator_IC_gww3x4gjg5 ; real_T StateSpace_DS_param [ 72 ] ;
real_T LookUpTable1_bp01Data [ 3 ] ; real_T Gain1_Gain ; real_T
Integrator_gainval ; real_T DiscreteTimeIntegrator_gainval_mjgsuxrz21 ;
real_T DiscreteTimeIntegrator_IC_mz4wlcvrk2 ; real_T Gain_Gain ; real_T
Integrator_gainval_ac2bwkmf4o ; real_T Integrator_gainval_if4krzbtot ; real_T
Switch_Threshold ; real_T Switch1_Threshold ; real_T Switch2_Threshold ;
real_T Gain2_Gain ; real_T Gain_Gain_hehkc3jgen ; real_T
Gain1_Gain_n3fx5vigfy ; real_T Switch_Threshold_d3pcfftxzn ; real_T
Switch1_Threshold_jsou4lt4xc ; real_T Saturation_UpperSat ; real_T
Saturation_LowerSat ; real_T uLd_Gain ; real_T Gain_Gain_cnsevagfns ; real_T
LqLd_Gain ; real_T RLd_Gain ; real_T uLq_Gain ; real_T LdLq_Gain ; real_T
RLq_Gain ; real_T lamLq_Gain ; real_T Gain2_Gain_nink3v2kty ; real_T
SwitchCurrents_Value [ 6 ] ; real_T Constant_Value ; real_T Constant2_Value ;
real_T Constant3_Value ; real_T Constant_Value_ahnta5b1bi ; real_T
Constant1_Value ; real_T Constant3_Value_bejh11f5do ; real_T Constant4_Value
; real_T Constant_Value_gnz10l4nxj ; } ; extern const char_T *
RT_MEMORY_ALLOCATION_ERROR ; extern B rtB ; extern DW rtDW ; extern P rtP ;
extern mxArray * mr_foc1_GetDWork ( ) ; extern void mr_foc1_SetDWork ( const
mxArray * ssDW ) ; extern mxArray * mr_foc1_GetSimStateDisallowedBlocks ( ) ;
extern const rtwCAPI_ModelMappingStaticInfo * foc1_GetCAPIStaticMap ( void )
; extern SimStruct * const rtS ; extern const int_T gblNumToFiles ; extern
const int_T gblNumFrFiles ; extern const int_T gblNumFrWksBlocks ; extern
rtInportTUtable * gblInportTUtables ; extern const char * gblInportFileName ;
extern const int_T gblNumRootInportBlks ; extern const int_T
gblNumModelInputs ; extern const int_T gblInportDataTypeIdx [ ] ; extern
const int_T gblInportDims [ ] ; extern const int_T gblInportComplex [ ] ;
extern const int_T gblInportInterpoFlag [ ] ; extern const int_T
gblInportContinuous [ ] ; extern const int_T gblParameterTuningTid ; extern
DataMapInfo * rt_dataMapInfoPtr ; extern rtwCAPI_ModelMappingInfo *
rt_modelMapInfoPtr ; void MdlOutputs ( int_T tid ) ; void
MdlOutputsParameterSampleTime ( int_T tid ) ; void MdlUpdate ( int_T tid ) ;
void MdlTerminate ( void ) ; void MdlInitializeSizes ( void ) ; void
MdlInitializeSampleTimes ( void ) ; SimStruct * raccel_register_model (
ssExecutionInfo * executionInfo ) ;
#endif
